package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (LsDistributionOrderGoods)实体类
 *
 * @author 杨丽辉
 * @since 2021-10-18 21:03:18
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsDistributionOrderGoods implements Serializable {
    private static final long serialVersionUID = -14698844334508094L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
        private Integer id;

    /**
    * 记录编号
    * isnull 0
    */            private String sn;
    /**
    * 用户id
    * isnull 0
    */            private Integer userId;
    /**
    * 真实姓名
    * isnull 0
    */            private String realName;
    /**
    * 分销会员等级
    * isnull 0
    */            private Integer levelId;
    /**
    * 分销层级
    * isnull 0
    */            private Integer level;
    /**
    * 佣金比例
    * isnull 0
    */            private BigDecimal ratio;
    /**
    * 订单ID
    * isnull 0
    */            private Integer orderId;
    /**
    * 订单商品id
    * isnull 0
    */            private Integer orderGoodsId;
    /**
    * 商品数量
    * isnull 0
    */            private Integer goodsNum;
    /**
    * 佣金
    * isnull 0
    */            private BigDecimal money;
    /**
    * 状态：1-待返佣；2-已结算；3-已失效；
    * isnull 0
    */            private Integer status;
    /**
    * 创建时间
    * isnull 0
    */            private Integer createTime;
    /**
    * 更新时间
    * isnull 0
    */            private Integer updateTime;
    /**
    * 店铺id
    * isnull 0
    */            private Integer shopId;
    /**
    * 结算时间
    * isnull 0
    */            private Integer settlementTime;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }
        
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
        
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
        
    public Integer getLevelId() {
        return levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }
        
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
        
    public BigDecimal getRatio() {
        return ratio;
    }

    public void setRatio(BigDecimal ratio) {
        this.ratio = ratio;
    }
        
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
        
    public Integer getOrderGoodsId() {
        return orderGoodsId;
    }

    public void setOrderGoodsId(Integer orderGoodsId) {
        this.orderGoodsId = orderGoodsId;
    }
        
    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }
        
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
        
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
        
    public Integer getSettlementTime() {
        return settlementTime;
    }

    public void setSettlementTime(Integer settlementTime) {
        this.settlementTime = settlementTime;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"sn\":" + sn +
                            " ,\"userId\":" + userId +
                            " ,\"realName\":" + realName +
                            " ,\"levelId\":" + levelId +
                            " ,\"level\":" + level +
                            " ,\"ratio\":" + ratio +
                            " ,\"orderId\":" + orderId +
                            " ,\"orderGoodsId\":" + orderGoodsId +
                            " ,\"goodsNum\":" + goodsNum +
                            " ,\"money\":" + money +
                            " ,\"status\":" + status +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"shopId\":" + shopId +
                            " ,\"settlementTime\":" + settlementTime +
                  '}';
    }


}
